package org.qianji.goosql.cond;

/**
 * 抽象查询条件，主要实现查询条件的与、或、非组合操作。
 * 
 * @author gmz
 * 
 */
public abstract class AbstractCondition implements Condition {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3991677889368090167L;

	@Override
	public Condition and(Condition cond) {
		return new And(this, cond);
	}

	@Override
	public Condition or(Condition cond) {
		return new Or(this, cond);
	}

	@Override
	public Condition not() {
		return new Not(this);
	}

}
